QuickOPC User's Guide and Reference
ErrorCode Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Modelling Namespace > UABaseVariable<TValue,TAttribute> Class : ErrorCode Property
Contains the error code. Zero for success, negative values for errors, and positive values for warnings.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MappingTagAttribute("OpcLabs.EasyOpc.UA.Modelling.VariableValue")>
<UADataAttribute(UADataMappingKind.ErrorCode)>
Public Property ErrorCode As Integer
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Integer
 
instance.ErrorCode = value
 
value = instance.ErrorCode
[DefaultValue()]
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(UADataMappingKind.ErrorCode)]
public int ErrorCode {get; set;}
[DefaultValue()]
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[UAData(UADataMappingKind.ErrorCode)]
public:
property int ErrorCode {
   int get();
   void set (    int value);
}
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UABaseVariable<TValue,TAttribute> Class
UABaseVariable<TValue,TAttribute> Members